//
//  NWMessageTableViewController.swift
//  Weibo
//
//  Created by Northwan on 16/1/19.
//  Copyright © 2016年 Northwan. All rights reserved.
//

import UIKit

class NWMessageTableViewController: NWVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if userlogon {
            setupUI()
        }else{
    visitorView .setupVisitorInfo(imgName:"visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
        }
    }
    
    private func setupUI(){
        self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "discoverGroup")
    }
    
    @objc private func discoverGroup(){
        printLog(__FUNCTION__)
    }
}
